package com.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import scan.pojo.HelloeServer;
import scan.server.ISchool;

@RestController
public class TestController {
    @Autowired
    private ISchool iSchool;

    @RequestMapping("hello")
    public void hello()
    {
        iSchool.ding();
    }
}
